warn (someone) against (something)

Translations
mettre en garde (quelqu'un) contre (quelque chose)
Definitions
To advise someone not to do something or to be cautious about a particular action or situation, often due to potential danger or negative consequences.